package cn.shenshen.shop.service;

import cn.shenshen.shop.vo.GoodVo;

import java.util.List;

/**
 * 秒杀服务接口
 */
public interface ISeckillGoodService {

    public List<GoodVo> query();

    GoodVo find(Long goodId);

    /**
     * 扣减库存
     * @param goodId
     * @return
     */
    int descStock(Long goodId);
}
